what is split or splice methods in array